<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_articles_categories
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
?>
<?php if($module->showtitle): ?>
<div class="module-title">
	<h2 class="title"><?php echo $module->title ;?></h2>
</div>
<?php endif; ?>

<div class="k2ArchivesBlock" id="k2ModuleBox90">
	<ul>
		<?php foreach ($list as $item) : ?>
		<li>
			<a href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($item->id)); ?>"><?php echo $item->title ;?></a>
		</li>
		<?php endforeach; ?>
	</ul>
</div>
<?php return; ?>
<ul class="categories-module<?php echo $moduleclass_sfx; ?>">
<?php
require JModuleHelper::getLayoutPath('mod_articles_categories', $params->get('layout', 'default').'_items');
?></ul>
